package com.eWallet.clearing.service;

import com.eWallet.clearing.pojo.Transaction;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;


public interface TransactionService {

    void addTransaction(Transaction transaction);

    List<Transaction> findAllTransaction();

    BigDecimal countPosition(Integer entityId, Date date);
}
